import React, { FC, ReactElement, useState, ReactNode } from 'react';
import './index.less';
import QueryContent from './component/QueryContent';
import EditTable from './component/EditTable';
import AddModel from './component/AddModel';

interface IPager {
  children: ReactNode;
  location: {
    pathname: string;
  };
}
const InnerEditTable: FC<IPager> = (): ReactElement => {
  return (
    <div>
      {/* 表头 */}
      <QueryContent />
      {/* 表单 */}
      <EditTable />
      {/* 弹框 */}
      <AddModel />
    </div>
  );
};
export default InnerEditTable;
